import Vue from'vue';

let mixins = {
    created() {
        console.log('mixin')
    },
    methods:{
        change(event){
            event.target.style.color = 'red'
        }
    }
}
// 全局混入
Vue.mixin(mixins)